package com.chapter17.demo6;


public class TicketSystem {
    public static void main(String[] args) {
        SellTicketTask task = new SellTicketTask();
        for (int i=0;i<5;i++){
            new Thread(task).start();
        }
    }
}
